import http from "./http";
import qs from "qs";

// POST
// /manager/merchantOrder/rechargeExport
// 充值导出


// POST
// /manager/merchantOrder/drawExport
// 提款导出

// 回调
export const callback = (params) => {
  return http.get("/manager/merchantOrder/callback", params)
}
// 提款订单
export const drawList = (params) => {
  return http.get("/manager/merchantOrder/drawList", params)
}
// 提款订单汇总
export const drawSum = (params) => {
  return http.get("/manager/merchantOrder/drawSum", params)
}
// 充值订单
export const rechargeList = (params) => {
  return http.get("/manager/merchantOrder/rechargeList", params)
}
// 充值订单汇总
export const rechargeSum = (params) => {
  return http.get("/manager/merchantOrder/rechargeSum", params)
}

// eslint-disable-next-line import/no-anonymous-default-export
export default {
  callback,
  drawList,
  drawSum,
  rechargeList,
  rechargeSum,
}